package edu.jd.block_chain.project.project;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class Project {

        private int p_id;
        private String p_url;
        private String p_title;
        private  int p_people_num;
        private int p_demand;
        private int p_expect_money;
        private String p_goal;
        private int p_current_num;
        private int p_curr_money;
        private String p_class;
        private String p_reputation;

        private String p_info;
        @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
        private Date p_start_time;
        @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
        private Date p_end_time;
        @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
        private Date p_join_time;

        public String getP_class() {
                return p_class;
        }

        public void setP_class(String p_class) {
                this.p_class = p_class;
        }

        public String getP_reputation() {
                return p_reputation;
        }

        public void setP_reputation(String p_repution) {
                this.p_reputation = p_repution;
        }

        public int getP_id() {
                return p_id;
        }

        public void setP_id(int p_id) {
                this.p_id = p_id;
        }

        public String getP_url() {
                return p_url;
        }

        public void setP_url(String p_url) {
                this.p_url = p_url;
        }

        public String getP_title() {
                return p_title;
        }

        public void setP_title(String p_title) {
                this.p_title = p_title;
        }

        public int getP_people_num() {
                return p_people_num;
        }

        public void setP_people_num(int p_people_num) {
                this.p_people_num = p_people_num;
        }

        public int getP_demand() {
                return p_demand;
        }

        public void setP_demand(int p_demand) {
                this.p_demand = p_demand;
        }

        public int getP_expect_money() {
                return p_expect_money;
        }

        public void setP_expect_money(int p_expect_money) {
                this.p_expect_money = p_expect_money;
        }

        public String getP_goal() {
                return p_goal;
        }

        public void setP_goal(String p_goal) {
                this.p_goal = p_goal;
        }

        public int getP_current_num() {
                return p_current_num;
        }

        public void setP_current_num(int p_current_num) {
                this.p_current_num = p_current_num;
        }

        public int getP_curr_money() {
                return p_curr_money;
        }

        public void setP_curr_money(int p_curr_money) {
                this.p_curr_money = p_curr_money;
        }

        public String getP_info() {
                return p_info;
        }

        public void setP_info(String p_info) {
                this.p_info = p_info;
        }

        public Date getP_start_time() {
                return p_start_time;
        }

        public void setP_start_time(Date p_start_time) {
                this.p_start_time = p_start_time;
        }

        public Date getP_end_time() {
                return p_end_time;
        }

        public void setP_end_time(Date p_end_time) {
                this.p_end_time = p_end_time;
        }

        public Date getP_join_time() {
                return p_join_time;
        }

        public void setP_join_time(Date p_join_time) {
                this.p_join_time = p_join_time;
        }
}
